<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<script type="text/javascript" src="/deng/include/include-css.js"></script>
<title>流程监听配置新增页面</title>
</head>
<body>
	<div class="m-portlet">
		<div class="m-portlet__head">
			<div class="m-portlet__head-caption">
				<div class="m-portlet__head-title">
					<span class="m-portlet__head-icon m--hide">
						<i class="la la-gear"></i>
					</span>
					<h3 class="m-portlet__head-text">
						创建流程监听配置
					</h3>
				</div>
			</div>
		</div>
		<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" id="defaultForm" method="post">
			<div class="m-portlet__body">
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">名&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称</label>
					<div class="col-md-3">
						<input class="form-control" type="text" maxlength="60"  name="lc_listener_name" placeholder="请输入">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;类</label>
					<div class="col-md-2">
						<select class="form-control" name="categories"  onchange="doChangeEvent(this)">
							<option value="">请选择</option>
							<option value="100">任务监听</option>
							<option value="200">执行监听</option>
							<option value="300">基于连线执行监听</option>
						</select>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">类&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;型</label>
					<div class="col-md-2">
						<select class="form-control" name="type">
							<option value="">请选择</option>
							<option value="javaclass">Java类</option>
							<option value="express">表达式</option>
							<option value="delegateExpression">委托表达式</option>
							<option value="ScriptExecutionListener">脚本执行监听器</option>
							<option value="ScriptTaskListener">脚本任务监听器</option>
						</select>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">事&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;件</label>
					<div class="col-md-2">
						<select class="form-control" name="event" id="event">
							<option value="">请选择</option>
							<option value="create">create</option>
							<option value="assignment">assignment</option>
							<option value="complete">complete</option>
							<option value="all">all</option>
						</select>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">事&nbsp;&nbsp;件&nbsp;值</label>
					<div class="col-md-3">
						<input class="form-control" type="text" maxlength="255"  name="listener_val" placeholder="请输入">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">产&nbsp;品&nbsp;&nbsp;线</label>
					<div class="col-md-3">
						<select class="form-control" name="lc_product_id" id="lc_product_id" placeholder="请选择" onchange="initGroupListSetV('lc_group_id','lc_product_id')">
							<option value="">请选择</option>
						</select>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">产&nbsp;品&nbsp;&nbsp;组</label>
					<div class="col-md-3">
						<select class="form-control" name="lc_group_id" id="lc_group_id" placeholder="请选择">
							<option value="">请选择</option>
						</select>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注</label>
					<div class="col-md-6">
						<textarea class="form-control" maxlength="255"  name="remark" placeholder="请输入"></textarea>
					</div>
				</div>
			</div>
			<div class="m-portlet__foot m-portlet__foot--fit">
				<div class="m-form__actions m-form__actions--right">
					<div class="row">
						<div class="col m--align-left">
							<a class="btn btn-light-success font-weight-bold mr-2" href="javascript:addLcListener()">保存</a>
							<a class="btn btn-light-primary font-weight-bold mr-2" href="javascript:goback()"><i class="icon-xl la la-arrow-left"></i>返 回</a>
						</div>
						<div class="col m--align-right">
							<a class="btn btn-secondary m-btn m-btn--custom m-btn--icon" href="javascript:resetAll('defaultForm')"><span><i class="fa fa-repeat"></i><span>重置</span></span></a>
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
</body>
<script type="text/javascript" src="/deng/include/include.js"></script>
<script type="text/javascript" src="/deng/view/workflow/lc-listener/lc-listener-add.js"></script> 
</html>
